Repository navigation
fix(cloudevents): correct prose example shapes and identities - #710
Closed
marcschier wants to merge 1 commit into
Closed
marcschier wants to merge 1 commit into
marcschier wants to merge 1 commit into
Conversation
Signed-off-by: Marc Schier <marcschier@hotmail.com>
marcschier
marked this pull request as ready for review
September 15, 2026 12:55
This was referenced Sep 15, 2026
Contributor
Author
|
Superseded by xregistry/spec#722 (bundle A), xregistry/spec#723 (bundle B). The selected substantive changes at reviewed head bac60b1 are mapped in those replacement descriptions, with this original discussion and issue provenance retained. Specification-text assertions and synthetic policy-test Python were deliberately omitted; qualifying real-artifact checks were retained or pruned as documented. Unmodified baseline Python and historical source branches are preserved. Verified immediately before closing: xregistry/spec#722 at Closing only this fully superseded original. Separate d/e proposals remain open, and no source branch is deleted. |
duglin
pushed a commit
that referenced
this pull request
Sep 23, 2026
* fix(docs): correct specification and example errors Transfer only the approved category-a documentation hunks. Keep policy, metadata-view, generated-artifact and tooling changes in their own bundles. Preserve the existing sample-validation Python without importing prose tests. Refs: #668, #669, #671, #672, #674, #676, #682, #693, #695, #704, #705, #710, #711, #717, #718. Refs: #609. These residual serialization repairs complement, but do not absorb or complete, the separately owned #657 work. Signed-off-by: Marc Schier <marcschier@hotmail.com> * docs(core): repair selected Resource example punctuation Add the three missing member separators and remove the extra brace from the reviewed Patch Resource initial state. Signed-off-by: Marc Schier <marcschier@hotmail.com> * docs(cloudevents): drop the added sample-abbreviation sentences Review feedback on #722 asked to remove both new sentences; the samples and their corrected literals are unchanged otherwise. Signed-off-by: Marc Schier <marcschier@hotmail.com> --------- Signed-off-by: Marc Schier <marcschier@hotmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #636
Proposed Changes
:Metricsmessage selector. Keep the precise Schema Version reference and include that Version's projection so the local JSON Pointer actually resolves.Compatibility and limits
These are source-example corrections, not changes to Core admission or protocol semantics. Compact, shared, API-reference and file-reference layouts remain distinct. The selected Version projection explicitly omits other server-managed attributes; remote illustrations retain their declared abbreviation/comment notation.
The first two examples are strictly parsed as complete JSON, while the two explicitly abbreviated illustrations are parsed as YAML. Tests check actual parent navigation and resolve the local selected-object reference. They do not claim full model admission, a general Protobuf parser, or real server/SDK interoperability. All eleven impossible date literals are deliberately unchanged for separately published #638. No schema identifiers, scenario samples, models or generated artifacts are changed; #566's samples are not duplicated.
Requirement evidence
test_current_endpoint_shapes_in_all_four_layout_examples,test_compact_and_shared_messages_use_flat_native_declarationstest_actual_parent_ids_self_xid_and_navigation_are_consistenttest_shared_reference_selects_the_actual_inline_protobuf_version_and_messagetest_compact_shared_api_and_file_reference_layouts_remain_distinctOld examples: 10 failed, 1 passed. Corrected isolated focused suite: 11 passed. Full
python -B -m pytest tools -q --tb=short -p no:cacheprovider -p pytest_asyncio.plugin: 78 passed, four existing deprecation warnings. Actual changed Markdown: 2 files / 22 links, plus spelling, tabs/trailing spaces, ticks, forbidden-link form, new-file LF and staged/committed diff checks passed. Explicit scope check confirms the separate eleven dates remain unchanged.Standalone pinned base:
9ecf8ea67bc9a6128c154b4545a21164493cc71e. Draft because three files changed. No prerequisite commits copied or stacked.